package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社团用户关联对象 sys_user_society
 * 
 * @author 新一
 * @date 2021-12-22
 */
public class SysUserSociety extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 社团名称 */
    @Excel(name = "社团名称")
    private String societyName;

    /** 社团Id */
    @Excel(name = "社团Id")
    private Long societyId;

    /** 用户Id */
    @Excel(name = "用户Id")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSocietyName(String societyName) 
    {
        this.societyName = societyName;
    }

    public String getSocietyName() 
    {
        return societyName;
    }
    public void setSocietyId(Long societyId) 
    {
        this.societyId = societyId;
    }

    public Long getSocietyId() 
    {
        return societyId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("societyName", getSocietyName())
            .append("societyId", getSocietyId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .toString();
    }
}
